package com.bjtu.douyin.service;

import com.bjtu.common.pojo.Video;
import com.bjtu.common.util.Result;

public interface VideoService {

    Result<?> addVideo(Video video);
    Result<?> deleteVideo(Integer id);
    Result<?> getVideo(Integer id, Integer userId);
    Result<?> likeVideo(Integer id, Integer userId);
    Result<?> dislikeVideo(Integer id, Integer userId);

    Result<?> getVideoList(Integer userId, Integer pageIndex, Integer pageSize);
}
